package com.mfangsoft.zhuangjialong.integration.commentactivity.mapper;

import java.util.List;
import java.util.Map;

import com.mfangsoft.zhuangjialong.common.model.Page;
import com.mfangsoft.zhuangjialong.common.utils.stereotype.WriterRepository;
import com.mfangsoft.zhuangjialong.integration.activity.model.BaseActivityInfo;
import com.mfangsoft.zhuangjialong.integration.commentactivity.model.BaseCommentActivity;
@WriterRepository
public interface BaseCommentActivityMapper {
    /**
     * 通过主键删除  
     *
     * @MLTH_generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 插入数据  
     *
     * @MLTH_generated
     */
    int insert(BaseCommentActivity record);

    int insertSelective(BaseCommentActivity record);
    
    void addCommentActivity(BaseCommentActivity baseCommentActivity);

    /**
     * 通过主键查询数据 
     *
     * @MLTH_generated
     */
    BaseCommentActivity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BaseCommentActivity record);
    
 
    /**
     * 通过主键更新数据  
     *
     * @MLTH_generated
     */
    int updateByPrimaryKey(BaseCommentActivity record);
    
    List<Map<String, Object>> selectCommentActivityPage(Page<Map<String, Object>> page);


	
    Integer selectShopId(Map map);
	
}